/* $Id: WidgetDefinition.java 52 2010-01-11 01:42:30Z aaron.day $ */
package org.crazydays.gameplan.widget;


import java.io.Serializable;

/**
 * WidgetDefinition
 */
public class WidgetDefinition
    implements Serializable
{
    /** serial version uid */
    public final static long serialVersionUID =
        "$Id: WidgetDefinition.java 52 2010-01-11 01:42:30Z aaron.day $"
            .hashCode();

    /** name */
    protected String name;

    /** description */
    protected String description;

    /** image path */
    protected String imagePath;

    /**
     * WidgetDefinition constructor.
     */
    public WidgetDefinition()
    {
    }

    /**
     * WidgetDefinition constructor.
     * 
     * @param name Name
     * @param description Description
     */
    public WidgetDefinition(String name, String description)
    {
        setName(name);
        setDescription(description);
    }

    /**
     * Set name.
     * 
     * @param name Name
     */
    public final void setName(String name)
    {
        this.name = name;
    }

    /**
     * Get name.
     * 
     * @return Name
     */
    public String getName()
    {
        return name;
    }

    /**
     * Set description.
     * 
     * @param description Description
     */
    public final void setDescription(String description)
    {
        this.description = description;
    }

    /**
     * Get description.
     * 
     * @return Description
     */
    public String getDescription()
    {
        return description;
    }

    /**
     * Set image path.
     * 
     * @param imagePath Image path
     */
    public final void setImagePath(String imagePath)
    {
        this.imagePath = imagePath;
    }

    /**
     * Get image path.
     * 
     * @return Image path
     */
    public String getImagePath()
    {
        return imagePath;
    }
}
